bitmask: Don't allocate memory for small bitmasks
authorNeil Roberts <neil@linux.intel.com>
Thu, 9 Feb 2012 03:53:43 +0000 (04:53 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 1 Mar 2012 14:10:36 +0000 (15:10 +0100)
commit6044dfc35b3afb77612cc8a3603e1a0092dfd72a
tree0b5f4777f56c146263e5fbf7afa3e2c613b4b63c
parent27eb83a4101adb608949cebebe59c307627d1e9e
bitmask: Don't allocate memory for small bitmasks

Code taken more or less verbatim from CoglBitmask.
gtk/gtkallocatedbitmask.c
gtk/gtkallocatedbitmaskprivate.h
gtk/gtkbitmaskprivateimpl.h